package com.llb666.e.shop.infrastructure.convert;

import com.llb666.e.shop.domain.entity.ItemsComments;
import com.llb666.e.shop.infrastructure.po.ItemsCommentsPo;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

/**
 * @author 斌~
 * @date 2022/8/7 下午8:32
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface ItemsCommentsCvt {
    ItemsCommentsCvt INSTANCE = Mappers.getMapper(ItemsCommentsCvt.class);

    ItemsCommentsPo do2po(ItemsComments itemsComments);

    ItemsComments po2do(ItemsCommentsPo itemsCommentsPo);

}
